package com.cy.detectsys.mapper;

import com.cy.detectsys.entity.DetectTarget;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
* @author admin
* @description 针对表【detect_target】的数据库操作Mapper
* @createDate 2024-05-08 23:50:22
* @Entity com.cy.detectsys.entity.DetectTarget
*/
public interface DetectTargetMapper extends BaseMapper<DetectTarget> {

    @Select("  select id from detect_target where ky_net_target_domain = #{filename} and deleted = 0 limit 1")
    String selectByDomainName(String filename);
}




